#include"pipe_data.h"

PipeData::PipeData(int cell_q_y, float depth, float delta_x_inside) {
  T_outside = new float[cell_q_y];
  T_inside = new float[cell_q_y];
  this->delta_y = depth/(float)cell_q_y;
  this->depth = depth;
  this->delta_x_inside = delta_x_inside;
  this->delta_x_outside = (sqrt(2.0f) - 1.0f)*delta_x_inside;
  this->cell_q_y = cell_q_y;
  return;
};